#include <iostream>

#include "expr_array.hpp"
#include "expr_template.hpp"
#include "expr_helper.hpp"
#include "expr_scalar.hpp"
#include "expr_op.hpp"

int main()
{
	Array<double> x(10), y(10);
	for(int i=0;i<10;i++){
		x[i]=i;
		y[i]=2*i;
	}

	x = 1.2*x + x*y;

	for(int i=0;i<10;i++){
		std::cout << x[i] << std::endl;
	}
}